package com.cloudkinto.vo.role.role;

import com.cloudkinto.vo.role.menu.MetaTreeRes;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangyy
 * @date 2020/6/8 9:09
 * @description:
 */
@Data
@NoArgsConstructor
public class RoleGiveMenuInitTree {
    private Long id;
    private String url;
    private String component;
    @ApiModelProperty("菜单名")
    private String name;
    @ApiModelProperty("子菜单")
    private List<RoleGiveMenuInitTree> children;
    @ApiModelProperty("菜单类型 1目录 2菜单 3按钮")
    private Integer type;
    @ApiModelProperty(value = "是否有这个菜单权限 1表示有 0表示没有")
    private Integer status;
    @ApiModelProperty("菜单icon")
    private String icon;
    @ApiModelProperty("哪个系统得权限  1 oms 2omp 3wms")
    private Integer system_;
    //    @ApiModelProperty("未处理条数")
//    private int count;
    private MetaTreeRes meta;

    public RoleGiveMenuInitTree(Long id, String url, String component, String name, Integer type, Integer status, String icon, Integer system_) {
        this.id = id;
        this.url = url;
        this.component = component;
        this.name = name;
        this.type = type;
        this.status = status;
        this.icon = icon;
        this.system_ = system_;
    }


}
